﻿using DevExpress.XtraBars.Ribbon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;

namespace XYZShell.CsHelper.DevExpressCore.Framework
{
    public class RibbonControlCretor
    {
        public RibbonControlCretor(string xml)
        {
            xdoc = XDocument.Parse(xml);
        }
        XDocument xdoc = null;
        public RibbonControl Create()
        {
            return null;
        }
        public void Set(object cls, XElement xeleSet)
        {
            string name = xeleSet.Attribute("name").Value;
            string type = xeleSet.Attribute("type").Value;
            string xmlval = xeleSet.Value;
            object val = null;
            Type t = Type.GetType(type);
            if (t.IsValueType)
            {
                
            }
        }
    }
}
